package com.yanh.common.exception;

import com.yanh.common.enums.ResultCode;

public class BusinessException extends CommonException{

    public BusinessException(String message) {
        super(message, ResultCode.FAIL);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause, ResultCode.FAIL);
    }

    public BusinessException(Throwable cause) {
        super(cause, ResultCode.FAIL);
    }
}
